package com.avcdata.national.module;

import java.io.Serializable;
import java.util.List;

/**
 * NewAOSApp
 * com.avcdata.national.module
 * Created by lic on 2017/9/19.
 * CSDN http://blog.csdn.net/lucasey
 */

public class MarketAvgInfo implements Serializable {

    /**
     * success : true
     * message : 17W37
     * returnValue : {"productTypes":["400以下","400-499","500-599","600-699","700-799","800-899","900-999","1000及以上"],"data":[{"brand":"all","avgPrice":1954,"avgPriceBasisRatio":43.6,"avgPriceLinkRelativeRatio":2.92},{"brand":"A.O.史密斯","avgPrice":4965,"avgPriceBasisRatio":9.4,"avgPriceLinkRelativeRatio":0.93},{"brand":"小米","avgPrice":855,"avgPriceBasisRatio":20.88,"avgPriceLinkRelativeRatio":0.91},{"brand":"飞利浦","avgPrice":2600,"avgPriceBasisRatio":46.28,"avgPriceLinkRelativeRatio":-0.05}]}
     * times :
     * secretKey : null
     */

    private boolean success;
    private String message;
    private ReturnValueBean returnValue;
    private String times;
    private Object secretKey;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ReturnValueBean getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(ReturnValueBean returnValue) {
        this.returnValue = returnValue;
    }

    public String getTimes() {
        return times;
    }

    public void setTimes(String times) {
        this.times = times;
    }

    public Object getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(Object secretKey) {
        this.secretKey = secretKey;
    }

    public static class ReturnValueBean {
        private List<String> productTypes;
        private List<DataBean> data;

        public List<String> getProductTypes() {
            return productTypes;
        }

        public void setProductTypes(List<String> productTypes) {
            this.productTypes = productTypes;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * brand : all
             * avgPrice : 1954
             * avgPriceBasisRatio : 43.6
             * avgPriceLinkRelativeRatio : 2.92
             */

            private String brand;
            private int avgPrice;
            private String avgPriceBasisRatio;
            private String avgPriceLinkRelativeRatio;

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public int getAvgPrice() {
                return avgPrice;
            }

            public void setAvgPrice(int avgPrice) {
                this.avgPrice = avgPrice;
            }

            public String getAvgPriceBasisRatio() {
                return avgPriceBasisRatio;
            }

            public void setAvgPriceBasisRatio(String avgPriceBasisRatio) {
                this.avgPriceBasisRatio = avgPriceBasisRatio;
            }

            public String getAvgPriceLinkRelativeRatio() {
                return avgPriceLinkRelativeRatio;
            }

            public void setAvgPriceLinkRelativeRatio(String avgPriceLinkRelativeRatio) {
                this.avgPriceLinkRelativeRatio = avgPriceLinkRelativeRatio;
            }
        }
    }
}
